package com.example.sj.baseapplication;

import android.content.Intent;
import android.net.Uri;
import android.view.View;
import android.widget.Toast;

import com.alibaba.android.arouter.launcher.ARouter;
import com.example.sj.baseapplication.Base.BaseActivity;
import com.example.sj.baseapplication.databinding.ActivityMainBinding;


public class MainActivity extends BaseActivity<ActivityMainBinding> {

    @Override
    public int setLayout() {
        return R.layout.activity_main;
    }

    @Override
    public void init(ActivityMainBinding bingding) {
        bingding.test.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                RouteUtils.toHomeActivityMain();
            }
        });
        bingding.test2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                RouteUtils.toFMActivityMain();

            }
        });
    }
}
